package com.hdey.service.max;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hdey.pojo.heng.TbUscUser;
import com.hdey.pojo.max.TbUscStock;
import com.hdey.vo.StockVo;
import com.hdey.vo.StockVoForSearch;

import java.util.List;

public interface TbUscStockSvs extends IService<TbUscStock> {

    List<StockVo> getStock(StockVoForSearch stock);

    int updateStockAmount(TbUscStock stock);
    //根据仓库id和物资id判断是否有数据
    TbUscStock countId(Integer warehousId,Integer dictionaryId);

    //通过puls修改
    int updateAmount(TbUscStock tbUscStock);

    //添加
    int add(TbUscStock tbUscStock);

}
